package com.ceo.auth.jwt.handler;


import com.ceo.auth.jwt.chain.CallableChain;
import com.ceo.auth.jwt.wrapper.JwtWrapper;
import com.ceo.auth.jwt.wrapper.Wrapper;

import java.util.function.Supplier;


/**
 * @Create by hefy
 * @Date 2022/1/10 10:35
 */
public abstract class AbstractJwtHandler<T extends Wrapper> {


    public abstract Boolean doHandle(CallableChain<Boolean, JwtWrapper> chain, Supplier<JwtWrapper> supplier) throws Exception;

}
